package com.wwj.auction.login.entity.vo;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.time.LocalDateTime;

/**
 * 接收商品发布的详细数据
 */
@Data
public class ShopDetailVo {

    @ApiModelProperty(value = "商品名称")
    private String shopName;

    @ApiModelProperty(value = "商品起拍价")
    private BigDecimal shopStartPrice;

    @ApiModelProperty(value = "开拍时间")
    private LocalDateTime startTime;

    @ApiModelProperty(value = "结束时间")
    private LocalDateTime endTime;

    @ApiModelProperty(value = "每轮加价金额")
    private BigDecimal shopAddPrice;

    @ApiModelProperty(value = "商品保证金")
    private BigDecimal earnestMoney;

    @ApiModelProperty(value = "卖家用户id")
    private Integer sellerId;

    @ApiModelProperty(value = "商品首页展示图")
    private String shopIndexImage;

    @ApiModelProperty(value = "商品拍卖模式，0为竞拍模式，1为竞标模式")
    private String shopModel;

    @ApiModelProperty(value = "商品成交模式，0为普通模式，1为即时成交模式")
    private String commitModel;

    @ApiModelProperty(value = "商品保留价，若设置了保留价，则商品最终的成交价格不应低于保留价")
    private BigDecimal shopRetainPrice;

    @ApiModelProperty(value = "商品运费")
    private BigDecimal shopFreight;

    @ApiModelProperty(value = "商品小图url")
    private String shopSmallImage;

    @ApiModelProperty(value = "商品大图url")
    private String shopBigImage;
}
